/* pages/goods_detail/main.wxss */

.box {
  swiper {
    width: 100%;
    height: 750rpx;
    swiper-item {
      .slide-image {
        width: 100%;
        height: 100%;
      }
    }
  }
  /* 价格区域 */

  .price {
    padding: 0 20rpx 45rpx;
    box-sizing: border-box;
    .goods_price {
      display: flex;
      align-items: center;
      justify-content: space-between;
      text:nth-child(1) {
        color: red;
        font-size: 40rpx;
        margin: 20rpx 0;
        padding-left: 5rpx;
      }
      text:nth-child(2) {
        font-size: 30rpx;
        margin: 20rpx 0;
      }
    }
    .member_price {
      display: flex;
      align-items: center;
      justify-content: space-between;
      .member_price_left {
        text:first-child {
          font-size: 28rpx;
          font-family: PingFang SC;
          font-weight: bold;
          color: rgba(7, 189, 68, 1);
          line-height: 40rpx;
        }
        text:last-child {
          width: 57rpx;
          height: 20rpx;
          display: inline-block;
          background: rgba(7, 189, 68, 1);
          border-radius: 10px;
          text-align: center;
          color: #fff;
          font-size: 12rpx;
          line-height: 20rpx;
          margin-left: 15rpx;
        }
      }
      .member_price_right {
        font-size: 22rpx;
        color: #999;
      }
    }
  }

  /* 名字区域 */

  .pinfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20rpx;
    padding: 20rpx;
    box-sizing: border-box;
    text {
      padding-right: 20rpx;
      line-height: 35rpx;
      font-size: 32rpx;
      font-weight: bold;
      color: #121212;
    }
    .pinfo-img {
      // width: 100rpx;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      font-size: 20rpx;
      image {
        width: 32rpx;
        height: 32rpx;
        display: block;
        margin-bottom: 5rpx;
      }
    }
  }

  .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20rpx;
    box-sizing: border-box;
    .item_left {
      display: flex;
      align-items: center;
      image {
        width: 54rpx;
        height: 34rpx;
        vertical-align: middle;
      }
      text {
        font-size: 24rpx;
        color: #121212;
        margin-left: 10rpx;
      }
    }
    .item_right {
      display: flex;
      align-items: center;
      text {
        font-size: 22rpx;
        color: #999;
        margin-right: 5rpx;
      }
      image {
        width: 12.7rpx;
        height: 22.6rpx;
        vertical-align: middle;
      }
    }
  }
  .express {
    font-size: 26rpx;
    color: #666;
    height: 80rpx;
    line-height: 80rpx;
    margin-left: 10rpx;
  }

  /* 下划线区域 */

  .divider {
    margin: 25rpx 0;
    border-bottom: 15rpx solid #efefef;
  }
  .detail {
    padding: 0 20rpx;
    box-sizing: border-box;
    margin-bottom: 100rpx;
    .detail_title {
      margin-bottom: 20rpx;
      .detail_text {
        font-size: 36rpx;
        font-weight: bold;
        color: rgba(18, 18, 18, 1);
        line-height: 70rpx;
        z-index: 222;
      }
      .detail_background {
        width: 141rpx;
        height: 17rpx;
        background: rgba(7, 189, 68, 1);
        border-radius: 9rpx;
        margin-top: -25rpx;
      }
    }
  }

  /* 底部区域 */

  .tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100rpx;
    background: #fff;
    border-top: 1rpx solid #999;
    .joinCart {
      width: 374.5rpx;
      background: #07bd44;
      text-align: center;
      color: #fff;
      line-height: 100rpx;
    }
    .buy {
      width: 374.5rpx;
      background: #fff;
      text-align: center;
      color: #121212;
      line-height: 100rpx;
    }
  }
}

.buy_box {
  width: 100%;
  height: 764rpx;
  padding: 20rpx;
  box-sizing: border-box;
  .buy_box_content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    .buy_box_left {
      display: flex;
      align-items: center;
      justify-content: space-between;
      .buy_box_one {
        .buy_box_one_img {
          width: 183rpx;
          height: 183rpx;
        }
      }
      .buy_box_two {
        display: flex;
        flex-direction: column;
        margin-left: 35rpx;
        text:nth-child(1) {
          font-size: 32rpx;
          font-weight: bold;
          color: rgba(18, 18, 18, 1);
          line-height: 70rpx;
        }
        text:nth-child(2) {
          font-size: 28rpx;
          font-weight: bold;
          color: rgba(255, 0, 0, 1);
          line-height: 30rpx;
        }
        text:nth-child(3) {
          font-size: 22rpx;
          font-weight: 400;
          color: rgba(153, 153, 153, 1);
          line-height: 70rpx;
        }
      }
    }
    .buy_box_right {
      .buy_box_right_img {
        width: 50rpx;
        height: 50rpx;
      }
    }
  }
  .specification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20rpx 0;
    text:nth-child(1) {
      font-size: 28rpx;
      color: #121212;
      font-weight: bold;
    }
    text:nth-child(2) {
      display: block;
      padding:5rpx 15rpx;
      background: rgba(241, 241, 241, 1);
      border-radius: 20rpx;
      text-align: center;
      font-size: 22rpx;
      color: #121212;
    }
  }

  .mode_payment {
    text {
      display: block;
      font-size: 28rpx;
      color: #121212;
      margin-bottom: 24rpx;
      font-weight: bold;
    }
    .van-radio {
      display: flex;
      align-items: center;
      margin: 20rpx 0 0 20rpx;
      .plus_points_one,
      .plus_points_two {
        margin: auto;
        display: inline-block;
        line-height: 70rpx;
      }
      .plus_points_one {
        font-size: 28rpx;
        font-weight: bold;
        color: rgba(7, 189, 68, 1);
      }
      .plus_points_two {
        width: 57rpx;
        height: 20rpx;
        background: rgba(7, 189, 68, 1);
        border-radius: 10rpx;
        text-align: center;
        font-size: 12rpx;
        color: #fff;
        line-height: 20rpx;
        margin-left: 20rpx;
      }
      .plus_points_tree {
        font-size: 28rpx;
        font-weight: bold;
        color: #ff0000;
      }
      .plus_points {
        display: flex;
        align-items: center;

        font-size: 28rpx;
        image {
          width: 30rpx;
          height: 30rpx;
          vertical-align: middle;
        }
        text:nth-child(1) {
          margin: auto;
          display: inline-block;
          line-height: 70rpx;
          color: #07bd44;
          text-align: center;
        }
        text:nth-child(3) {
          margin: auto;
          display: inline-block;
          line-height: 70rpx;
          color: #07bd44;
          text-align: center;
        }
      }
    }
  }

  .num {
    font-size: 28rpx;
    color: #333;
    padding: 10rpx 0 40rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .set {
      display: inline-block;
      height: 40rpx;
      width: 40rpx;
      text-align: center;
      line-height: 40rpx;
      border: 1px solid #444;
      margin: 0 20rpx;
      border-radius: 50%;
    }
  }
  .confirmBtn {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 98rpx;
    background-color: #07bd44;
    text-align: center;
    line-height: 98rpx;
    color: #fff;
    font-size: 30rpx;
  }
}

.van-popup--bottom {
  height: 750rpx;
}
.van-dialog__header {
  padding: 0 !important;
  margin: 30rpx 0;
}
